﻿@model IEnumerable<OdeToFood.Models.Review>

@{
    ViewBag.Title = "Index";
    var first = Model.First();    
}

@* the best rating is @first.Rating *@

<h2>The Latest Reviews</h2>


@foreach (var item in Model)
{ 

    @Html.Partial("_Review", item)   
        
        
}



<p>
    @Html.ActionLink("Create New", "Create")
</p>

@section Footer {

    <p> this is the footer </p>

}